

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  <meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <title>Ceph 容器映像 &mdash; Ceph Documentation</title>
  

  
  <link rel="stylesheet" href="../../_static/ceph.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/ceph.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/graphviz.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/css/custom.css" type="text/css" />

  
  

  
  

  

  
  <!--[if lt IE 9]>
    <script src="../../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
        <script src="../../_static/jquery.js"></script>
        <script src="../../_static/_sphinx_javascript_frameworks_compat.js"></script>
        <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
        <script src="../../_static/doctools.js"></script>
        <script src="../../_static/sphinx_highlight.js"></script>
    
    <script type="text/javascript" src="../../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../../genindex/" />
    <link rel="search" title="Search" href="../../search/" />
    <link rel="next" title="安装 Ceph 存储集群" href="../install-storage-cluster/" />
    <link rel="prev" title="Ceph 镜像" href="../mirrors/" /> 
</head>

<body class="wy-body-for-nav">

   
  <header class="top-bar">
    <div role="navigation" aria-label="Page navigation">
  <ul class="wy-breadcrumbs">
      <li><a href="../../" class="icon icon-home" aria-label="Home"></a></li>
          <li class="breadcrumb-item"><a href="../">安装 Ceph</a></li>
          <li class="breadcrumb-item"><a href="../index_manual/">安装（手动）</a></li>
      <li class="breadcrumb-item active">Ceph 容器映像</li>
      <li class="wy-breadcrumbs-aside">
            <a href="../../_sources/install/containers.rst.txt" rel="nofollow"> View page source</a>
      </li>
  </ul>
  <hr/>
</div>
  </header>
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search"  style="background: #eee" >
          

          
            <a href="../../" class="icon icon-home"> Ceph
          

          
          </a>

          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../../search/" method="get">
    <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../start/">Ceph 简介</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../">安装 Ceph</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../#id1">建议的方法</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../#id2">其他方法</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="../index_manual/">安装（手动）</a><ul class="current">
<li class="toctree-l4 current"><a class="reference internal" href="../index_manual/#id2">获取软件</a></li>
<li class="toctree-l4"><a class="reference internal" href="../index_manual/#id3">安装软件</a></li>
<li class="toctree-l4"><a class="reference internal" href="../index_manual/#id4">手动部署一套集群</a></li>
<li class="toctree-l4"><a class="reference internal" href="../index_manual/#id5">升级软件</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../#windows">Windows</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../cephadm/">Cephadm</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../rados/">Ceph 存储集群</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../cephfs/">Ceph 文件系统</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../rbd/">Ceph 块设备</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../radosgw/">Ceph 对象网关</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../mgr/">Ceph 管理器守护进程</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../mgr/dashboard/">Ceph 仪表盘</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../monitoring/">监控概览</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../api/">API 文档</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../architecture/">体系结构</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../dev/developer_guide/">开发者指南</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../dev/internals/">Ceph 内幕</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../governance/">项目管理</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../foundation/">Ceph 基金会</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../ceph-volume/">ceph-volume</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releases/general/">Ceph 版本（总目录）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releases/">Ceph 版本（索引）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../security/">Security</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../hardware-monitoring/">硬件监控</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../glossary/">Ceph 术语</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../jaegertracing/">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../translation_cn/">中文版翻译资源</a></li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../">Ceph</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
<div id="dev-warning" class="admonition note">
  <p class="first admonition-title">Notice</p>
  <p class="last">This document is for a development version of Ceph.</p>
</div>
  <div id="docubetter" align="right" style="padding: 5px; font-weight: bold;">
    <a href="https://pad.ceph.com/p/Report_Documentation_Bugs">Report a Documentation Bug</a>
  </div>

  
  <section id="ceph">
<span id="containers"></span><h1>Ceph 容器映像<a class="headerlink" href="#ceph" title="Permalink to this heading"></a></h1>
<div class="admonition important">
<p class="admonition-title">Important</p>
<p>不鼓励使用 <code class="docutils literal notranslate"><span class="pre">:latest</span></code> 标签。如果你用了 <code class="docutils literal notranslate"><span class="pre">:latest</span></code> 标签，
没法保证所有主机上的映像相同，在这样的状态下，
升级后可能无法正常运行。记着， <code class="docutils literal notranslate"><span class="pre">:latest</span></code>
是个相对标签、还是个不断移动的目标。</p>
<p>请使用显式的标签或映像 ID ，而非 <code class="docutils literal notranslate"><span class="pre">:latest</span></code> 标签。例如：</p>
<p><code class="docutils literal notranslate"><span class="pre">podman</span> <span class="pre">pull</span> <span class="pre">ceph/ceph:v15.2.0</span></code> 。</p>
</div>
<section id="id1">
<h2>官方发布<a class="headerlink" href="#id1" title="Permalink to this heading"></a></h2>
<p>Ceph 容器映像发布到了 Quay 和 Docker Hub:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">quay</span><span class="o">.</span><span class="n">io</span><span class="o">/</span><span class="n">repository</span><span class="o">/</span><span class="n">ceph</span><span class="o">/</span><span class="n">ceph</span>
<span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">hub</span><span class="o">.</span><span class="n">docker</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">r</span><span class="o">/</span><span class="n">ceph</span>
</pre></div>
</div>
<section id="ceph-ceph">
<h3>ceph/ceph<a class="headerlink" href="#ceph-ceph" title="Permalink to this heading"></a></h3>
<ul class="simple">
<li><p>通用 Ceph 容器，安装了所有必需的守护进程及其依赖关系。</p></li>
</ul>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>标签</p></td>
<td><p>含义</p></td>
</tr>
<tr class="row-even"><td><p>vRELNUM</p></td>
<td><p>这个系列里的最新版（例如 <em>v14</em> = Nautilus ）</p></td>
</tr>
<tr class="row-odd"><td><p>vRELNUM.2</p></td>
<td><p>这个稳定系列里的最新稳定版 <em>stable</em> （例如 <em>v14.2</em> ）</p></td>
</tr>
<tr class="row-even"><td><p>vRELNUM.Y.Z</p></td>
<td><p>某个特定的版本（例如 <em>v14.2.4</em> ）</p></td>
</tr>
<tr class="row-odd"><td><p>vRELNUM.Y.Z-YYYYMMDD</p></td>
<td><p>某个特定的构建（例如 <em>v14.2.4-20191203</em> ）</p></td>
</tr>
</tbody>
</table>
</section>
</section>
<section id="id2">
<h2>遗留的容器映像<a class="headerlink" href="#id2" title="Permalink to this heading"></a></h2>
<p>遗留的容器映像位于 Docker Hub 的：</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">hub</span><span class="o">.</span><span class="n">docker</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">r</span><span class="o">/</span><span class="n">ceph</span>
</pre></div>
</div>
<section id="ceph-daemon-base">
<h3>ceph/daemon-base<a class="headerlink" href="#ceph-daemon-base" title="Permalink to this heading"></a></h3>
<ul class="simple">
<li><p>通用 Ceph 容器，安装了所有必需的守护进程及其依赖关系。</p></li>
<li><p>和 <em>ceph/ceph</em> 基本相同，就是标签不同。</p></li>
<li><p>注意，所有的 <em>-devel</em> 标签（和 <em>latest-master</em> 标签）
都基于没正式发布的、而且一般也没测试过的软件包，来自 <a class="reference external" href="https://shaman.ceph.com">https://shaman.ceph.com</a> 。</p></li>
</ul>
<dl class="field-list simple">
<dt class="field-odd">注意<span class="colon">:</span></dt>
<dd class="field-odd"><p>这个映像很快会变成 <em>ceph/ceph</em> 的别名。</p>
</dd>
</dl>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>标签</p></td>
<td><p>含义</p></td>
</tr>
<tr class="row-even"><td><p>latest-master</p></td>
<td><p>ceph-container.git 最近一次更新的 master 分支构建</p></td>
</tr>
<tr class="row-odd"><td><p>latest-master-devel</p></td>
<td><p>master 分支的每日构建</p></td>
</tr>
<tr class="row-even"><td><p>latest-RELEASE-devel</p></td>
<td><p><em>RELEASE</em> （例如 nautilus ）分支的每日构建</p></td>
</tr>
</tbody>
</table>
</section>
<section id="ceph-daemon">
<h3>ceph/daemon<a class="headerlink" href="#ceph-daemon" title="Permalink to this heading"></a></h3>
<ul class="simple">
<li><p><em>ceph/daemon-base</em> 加上一堆 BASH 脚本，
就可以让 ceph-nano 和 ceph-ansible 管理 Ceph 集群。</p></li>
</ul>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>标签</p></td>
<td><p>含义</p></td>
</tr>
<tr class="row-even"><td><p>latest-master</p></td>
<td><p>ceph-container.git 最近一次更新的 master 分支构建</p></td>
</tr>
<tr class="row-odd"><td><p>latest-master-devel</p></td>
<td><p>master 分支的每日构建</p></td>
</tr>
<tr class="row-even"><td><p>latest-RELEASE-devel</p></td>
<td><p><em>RELEASE</em> （例如 nautilus ）分支的每日构建</p></td>
</tr>
</tbody>
</table>
</section>
</section>
<section id="id3">
<h2>开发代码构建<a class="headerlink" href="#id3" title="Permalink to this heading"></a></h2>
<p>我们会为开发分支 <code class="docutils literal notranslate"><span class="pre">wip-*</span></code> 自动构建容器映像，
在 ceph-ci.git 代码库里，并把它们推送到了 Quay:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">quay</span><span class="o">.</span><span class="n">ceph</span><span class="o">.</span><span class="n">io</span><span class="o">/</span><span class="n">organization</span><span class="o">/</span><span class="n">ceph</span><span class="o">-</span><span class="n">ci</span>
</pre></div>
</div>
<section id="ceph-ci-ceph">
<h3>ceph-ci/ceph<a class="headerlink" href="#ceph-ci-ceph" title="Permalink to this heading"></a></h3>
<ul class="simple">
<li><p>这个和上面的 ceph/ceph 映像相似。</p></li>
<li><p>TODO: 解除 <code class="docutils literal notranslate"><span class="pre">wip-*</span></code> 限制，也构建 ceph.git 里的其它分支。</p></li>
</ul>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>标签</p></td>
<td><p>含义</p></td>
</tr>
<tr class="row-even"><td><p>BRANCH</p></td>
<td><p>指定 GIT 分支的最新构建（例如 <em>wip-foo</em> ）</p></td>
</tr>
<tr class="row-odd"><td><p>BRANCH-SHORTSHA1-BASEOS-ARCH-devel</p></td>
<td><p>某个具体分支的构建</p></td>
</tr>
<tr class="row-even"><td><p>SHA1</p></td>
<td><p>某个特定的构建</p></td>
</tr>
</tbody>
</table>
</section>
</section>
</section>



<div id="support-the-ceph-foundation" class="admonition note">
  <p class="first admonition-title">Brought to you by the Ceph Foundation</p>
  <p class="last">The Ceph Documentation is a community resource funded and hosted by the non-profit <a href="https://ceph.io/en/foundation/">Ceph Foundation</a>. If you would like to support this and our other efforts, please consider <a href="https://ceph.io/en/foundation/join/">joining now</a>.</p>
</div>


           </div>
           
          </div>
          <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
        <a href="../mirrors/" class="btn btn-neutral float-left" title="Ceph 镜像" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
        <a href="../install-storage-cluster/" class="btn btn-neutral float-right" title="安装 Ceph 存储集群" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>&#169; Copyright 2016, Ceph authors and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0).</p>
  </div>

   

</footer>
        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>